package com.securitydemo.controller;

import com.securitydemo.dto.OffsetDateTimeDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Api(value = "测试", tags = {"测试"})
public class TestController {
    @GetMapping("/time")
    @ApiOperation("测试时间转换器")
    private OffsetDateTimeDto getTime(){
        return  OffsetDateTimeDto.info();
    }
}
